var partnerMap = new Map();
(function () {
    $X("/boss/logistics/logisticsDeliveryManager", "queryAllOrg").callx({
        onResult: function (result) {
            var html = '<select style="width:100%" name="deliveryPartner" class="form-control">';
            html += '<option value="">--请选择--</option>';
            var option = "";
            for (var i = 0; i < result.length; i++) {
                partnerMap.put(result[i].logisticsId, result[i].name);
                option += '<option value=' + result[i].logisticsId + '>' + result[i].name + '</option>';
            }
            html += option;
            html += '</select>';
            $(html).appendTo('div[name="partnerPluginsDiv"]');
        },
        onError: function (error) {
        }
    });
})()